
<ul class="pagination">
	<li class="text"><a >[第{{ list.number }}/{{ list.paginator.num_pages }}页]</a></li>
	
{% if list.has_previous %}
<li class="text"> <a href="#" pageto="{{ list.previous_page_number }}"  >&lt; 上一页</a></li>
{% endif %}

{% for p in page_range %}
{% ifequal p list.number %}
<li class="page"><a title="">{{p}}</a></li>
{% else %}
<li><a href="#"  pageto="{{ p }}" title="第{{p}}页">{{p}}</a></li>
{% endifequal %}
{% endfor %}

{% if list.has_next %}
<li class="text"><a href="#" pageto="{{ list.next_page_number }}" title="">下一页&gt; </a></li>
{% endif %}
</ul>
<input type="hidden" name="page"  id="hdn_form_{{formid}}">
<script>$($.pageto)</script>